<table width="100%">
<caption><h1><?=$caption?></h1><span><?=html::anchor(Router::$controller.'/create/'.$node_id, '添加')?></span></caption>
<thead>
<tr>
	<th width="5%">ID</th>
	<th width="20%">Name</th>
	<th width="30%">Chinese Title</th>
	<th width="30%">English Title</th>
	<th width="15%">操作</th>
</tr>
</thead>
<tbody id="myTable">
<tr>
	<td></td>
	<td><?=html::anchor(Router::$controller.'/lists/'.$node_parent_id, '../')?></td>
	<td></td>
	<td></td>
	<td></td>
</tr>
<?php foreach($datas as $data) { ?>
<tr>
	<td><?=$data->id?></td>
	<td><?=html::anchor(Router::$controller.'/lists/'.$data->id, $data->name)?></td>
	<td><?=html::anchor(Router::$controller.'/lists/'.$data->id, $data->title_cn)?></td>
	<td><?=html::anchor(Router::$controller.'/lists/'.$data->id, $data->title_en)?></td>
	<td>
		<?=html::anchor(Router::$controller.'/edit/'.$data->id, 'Edit')?>
		<?=html::anchor(Router::$controller.'/delete/'.$data->id, 'Delete')?>
	</td>
</tr>
<?php } ?>
</tbody>
</table>
<?=html::script('js/table.js')?>
